<div class="row-fluid">
    <div class="span12">
        <div class="demo-info" style="margin-bottom:10px">
            <div class="demo-tip icon-tip"></div>
            <div>
                Click on a row to select it, click again to deselect it.
                Click the New to add new row.
                Click on Edit to begin editing on a selected row.
                Click Save to save the row.
                Click on Cancel to quit changes to a row.
            </div>
        </div>

        <table id="flex" style="display:none;"></table>

    </div>
</div>

<!-- URLs -->
<input type="hidden" id="table-url" value="<?php echo $this->Html->url(array('controller' => 'ServiceAdviser', 'action' => 'schedule_appointments/get')); ?>" />
<input type="hidden" id="table-editable-url" value="<?php echo $this->Html->url(array('controller' => 'ServiceAdviser', 'action' => 'schedule_appointments/save')); ?>" />
<input type="hidden" id="delete_url" value="<?php echo $this->Html->url(array('controller' => 'ServiceAdviser', 'action' => 'schedule_appointments/delete')); ?>" />

<!-- Le Script -->
<script type="text/javascript">
    var customers = <?php echo json_encode($customers_list);?>;
    var reminder_times =  <?php echo json_encode($reminder_time_list);?>;
    var customers_filter =  <?php echo json_encode($customers_filter);?>;
    var reminded_filter =  <?php echo json_encode($reminded_status_filter);?>;
    var serviced_filter =  <?php echo json_encode($serviced_status_filter);?>;
</script>
<?php
echo $this->Html->script('scripts/service_advisers/schedule_appointments.js');
?>
